package com.example.tijianserver.response;

public enum TijianExceptionEnum {

    NO_TIJIAN_TAOCAN(1001,"无此体检套餐"),
    NO_HOSPIATL(1002,"无此医院"),
    ORDERS_CANCEL(1003,"此订单已经取消"),
    IS_NOT_GONGZUORI(1004,"该日期非工作日"),
    PHONE_OR_PASSWORD_IS_WRONG(1005,"手机号或者密码错误"),
    SYSTEM_ERROR(1006,"系统异常"),
    REGISTER_FAILED(1007,"用户已存在" ),
    KDC_ERR_C_PRINCIPAL_UNKNOWN(1008,"用户不存在" ),
    FORGOT_FAILED(1009,"用户身份证不相同");


    TijianExceptionEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    private Integer status;
    private String desc;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
